.index{
    background-color: #EDEDF7;
    position: relative;
    padding-bottom: 48px;
    height: 100%;
}


.bgImg{
    // height: 50%;
    // background: url(../../images/home/wyz.jpg) no-repeat;
}
.banner{
    width: 750px;
    min-height: 640px;
    &>image{
        width: 100%;
        height: auto;
    }
}
.titelCard{
    width: 686px;
    height: 176px;
    background: #fff;
    position: absolute;
    top: 536px;
    left: 32px;
    box-shadow: 0px 12px 24px 0px rgba(204,204,204,0.2);
    border-radius: 16px;
    &>.headPhoto{
        width: 96px;
        height: 96px;
        border-radius: 50%;
        position: absolute;
        top: 40px;
        left: 32px;
    }
    &>.quoteImg{
        width: 32px;
        height: 32px;
        position: absolute;
        top: 48px;
        right: 32px;
    }
    &>.quoteImg{
        width: 32px;
        height: 32px;
        position: absolute;
        top: 48px;
        right: 32px;
    }
    &>.textContent{
        // width: 300px;
        height: 32px;
        position: absolute;
        top: 96px;
        right: 32px;
        color: #999;
        font-size: 24px;
        text-align: right;
    }
    &>.name{
        position: absolute;
        top: 64px;
        left: 144px;
        font-size: 32px;
        color: #333;
        font-weight: 600;
    }
    &>.rice{
        position: absolute;
        top: 64px;
        right: 32px;
        font-size: 40px;
        color: #333;
        display: flex;
        align-items: center;
        &>Image{
            width: 48px;
            height: 48px;
            margin-left: 4px;
        }
    }
}



.notice{
    width: 686px;
    height: 72px;
    background: #D4D4FA;
    margin-left: 32px;
    margin-right: 32px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    &>.notice_left{
        width: 184px;
        height: 100%;
        background: #6464FA;
        display: flex;
        justify-content: center;
        align-items: center;
        &>Image{
            width: 48px;
            height: 48px;
            margin-right: 4px;
        }
        &>Text{
            font-size: 24px;
            color: #fff;
        }
    }
    &>.notice_right{
        width: 502px;
        height: 100%;
        padding:0 24px;
        box-sizing: border-box;
        &>View{
            line-height: 72px;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
            font-size: 24px;
            color: #333;
        }
    }
    .anim {
        transition: all 0.5s;
        margin-top: -72px;
      }
}

.treasure{
    margin-bottom: 48px;
    width: 100%;
    height: 515px;
    overflow-x: auto;
    white-space: nowrap;
    padding-left:32px;
    box-sizing: border-box;
    &>.treasure_item{
        width: 310px;
        height: 504px;
        margin-right: 32px;
        display: inline-block;
        background-color: #fff;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
    }
    .treasure_item_top{
        width: 100%;
        height: 240px;
        position: relative;
        &>Image{
            width: 100%;
            height: 100%;
        }
        &>Text{
            width: 136px;
            height: 36px;
            border-radius: 0 0 16px 0;
            text-align: center;
            line-height: 36px;
            background: #F9C32E;
            color: #fff;
            font-size: 20px;
            position: absolute;
            top: 0;
            left: 0;
        }
        &>.number{
            position: absolute;
            top: 192px;
            left: 18px;
            width: 93px;
            height: 31px;
            background: #000000;
            border-radius: 16px;
            opacity: 0.5;
            font-size: 20px;
            color: #FFFFFF;
            line-height: 31px;
            text-align: center;
        }
    }
    .treasure_item_bottom{
        padding: 0 24px;
        box-sizing: border-box;
        &>.name{
            width: 100%;
            margin-top: 20px;
            font-size: 28px;
            color: #333;
            font-weight: 600;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
        }
       &>.price{
           margin-top: 16px;
           line-height: 32px;
        &>Image{
            width: 32px;
            height: 32px;
            vertical-align: middle;
        }
        &>.price_new{
            font-size: 32px;
            color: #333;
            margin-right: 12px;
            font-weight: 600;
            vertical-align: middle;
        }
        &>.price_old{
            font-size: 24px;
            color: #ccc;
            text-decoration: line-through;
        }
       }
       &>.progress{
           margin-top: 16px;
           .atProgress{
               display: inline-block;
               width: 160px;
           }
           &>Text{
               margin-left: 18px;
               font-size: 20px;
               color: #ccc;
           }
       }
       &>.join{
           margin-top: 24px;
           text-align: left;
           &>.batton{
               display: inline-block;
           width: 146px;
           height: 60px;
           background: linear-gradient(135deg, #8989FB 0%, #6464FA 100%);
           font-size: 24px;
           color: #fff;
           border-radius: 30px;
       }
       }


    }
}

.lottery{
    background: #fff;
    margin-left: 32px;
    margin-right: 32px;
    border-radius: 24px;
    &>.lottery_title{
        width: 100%;
        height: 92px;
        padding: 48px 32px 0 32px;
        box-sizing: border-box;
        &>Text{
            font-size: 34px;
            color: #1E1D1B;
            font-weight: 600;
        }
        &>.end{
            margin-left: 24px;
            margin-right: 12px;
            font-size: 24px;
            color: #98958C;
        }
    }
    &>.lottery_item{
        width: 100%;
        height: 280px;
        padding: 32px;
        box-sizing: border-box;
        display: flex;
        &>Image{
            width: 216px;
            height: 216px;
            border-radius: 16px;
            margin-right: 32px;
        }
        &>.lottery_item_right{
            flex: 1;
            height: 100%;
            display: inline-block;
            width: 374px;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
            Text{
                font-size: 28px;
                color: #333;
                line-height: 36px;
            }
            .name{
                display: inline-block;
                width: 300px;
                white-space:nowrap;
                overflow:hidden;
                text-overflow:ellipsis;
                font-weight: 600;
            }
            .number{
                color: #999;
            }
            .priceKey{
                font-size: 24px;
                color: #ccc;
            }
            .priceValue{
                font-size: 34px;
                color: #FD732B;
                margin-left: 8px;
                font-weight: 600;
            }
            &>.batton{
                margin-top: 40px;
                height: 72px;
                background: linear-gradient(135deg, #8989FB 0%, #6464FA 100%);
                font-size: 28px;
                font-weight: 600;
                color: #fff;
                border-radius: 200px;
             }
        }
    }

}